package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.domain.entity.City;

import java.util.List;

@Mapper
public interface CityMapper extends BaseMapper<City> {


    List<City> selectByCityName(String cityName);


    List<City> selectAllCity();

    City getById(Integer cityId);

    List<City> getAllCities();
}
